package com.winit.openapi.isp.vo;

import java.util.List;

import javax.validation.constraints.Digits;
import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

/**
 * 创建发货通知单实体
 * 
 * @author jiaohua.wu
 */
public class CreateDispatchNoticeOrder {

    // 代发转寄单号
    private List<String> orderNo;
    /**
     * 字段：验货仓ID 类型：Integer 长度：11
     */
    @NotNull(message = "{02010250001}")
    @Digits(integer = 11, fraction = 0, message = "{02010250003}")
    private Integer      inspWarehouseID;

    /**
     * 字段：发货方式 类型：String 长度：32
     */
    @NotBlank(message = "{02010250001}")
    @Length(min = 1, max = 32, message = "{02010250002}")
    private String       shippingType;

    /**
     * 字段：快递公司 类型：String 长度：32
     */
    @NotBlank(message = "{02010250001}")
    @Length(min = 1, max = 32, message = "{02010250002}")
    private String       express;

    /**
     * 字段：快递单号 类型：String 长度：32
     */
    @NotBlank(message = "{02010250001}")
    @Length(min = 1, max = 32, message = "{02010250002}")
    private String       trackingNo;

    public List<String> getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(List<String> orderNo) {
        this.orderNo = orderNo;
    }

    public Integer getInspWarehouseID() {
        return inspWarehouseID;
    }

    public void setInspWarehouseID(Integer inspWarehouseID) {
        this.inspWarehouseID = inspWarehouseID;
    }

    public String getShippingType() {
        return shippingType;
    }

    public void setShippingType(String shippingType) {
        this.shippingType = shippingType;
    }

    public String getExpress() {
        return express;
    }

    public void setExpress(String express) {
        this.express = express;
    }

    public String getTrackingNo() {
        return trackingNo;
    }

    public void setTrackingNo(String trackingNo) {
        this.trackingNo = trackingNo;
    }

}
